[INFO] cloning repository https://github.com/himanshu-rawat77/Invoice-Rust-
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/himanshu-rawat77/Invoice-Rust-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimanshu-rawat77%2FInvoice-Rust-", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimanshu-rawat77%2FInvoice-Rust-'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d59ed88594a90c5ac5b596475bc45b85a5e951d3
[INFO] fixing himanshu-rawat77/Invoice-Rust- against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhimanshu-rawat77%2FInvoice-Rust-" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/himanshu-rawat77/Invoice-Rust-
[INFO] finished tweaking git repo https://github.com/himanshu-rawat77/Invoice-Rust-
[INFO] tweaked toml for git repo https://github.com/himanshu-rawat77/Invoice-Rust- written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/himanshu-rawat77/Invoice-Rust- on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/himanshu-rawat77/Invoice-Rust- already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn-select v0.3.0
[INFO] [stderr]   Downloaded expand v0.3.0
[INFO] [stderr]   Downloaded cargo-expand v1.0.116
[INFO] [stderr]   Downloaded cargo-subcommand-metadata v0.1.0
[INFO] [stderr]   Downloaded regex v1.11.2
[INFO] [stderr]   Downloaded xterm-color v1.0.1
[INFO] [stderr]   Downloaded clircle v0.6.1
[INFO] [stderr]   Downloaded bytesize v1.3.3
[INFO] [stderr]   Downloaded fs-err v3.1.2
[INFO] [stderr]   Downloaded clap-cargo v0.17.1
[INFO] [stderr]   Downloaded terminal-trx v0.2.4
[INFO] [stderr]   Downloaded terminal-colorsaurus v0.4.8
[INFO] [stderr]   Downloaded deranged v0.5.3
[INFO] [stderr]   Downloaded grep-cli v0.1.11
[INFO] [stderr]   Downloaded ansi_colours v1.2.3
[INFO] [stderr]   Downloaded console v0.16.1
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] [stderr]   Downloaded bat v0.25.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd
[INFO] running `Command { std: "docker" "start" "d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr] warning: rust-macro v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling expand v0.3.0
[INFO] [stderr]     Checking rust-macro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `anchor_lang` in this scope
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anchor_lang::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_lang`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_lang`, use `cargo add anchor_lang` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anchor_spl` in this scope
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_spl::token::{self, Burn, Mint, MintTo, Token, TokenAccount};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `anchor_spl::token::self`, `anchor_spl::token::Burn`, `anchor_spl::token::Mint`, `anchor_spl::token::MintTo`, `anchor_spl::token::Token`, `anchor_spl::token::TokenAccount`
[INFO] [stdout]  --> src/main.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_spl::token::{self, Burn, Mint, MintTo, Token, TokenAccount};
[INFO] [stdout]   |                         ^^^^  ^^^^  ^^^^  ^^^^^^  ^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/main.rs:162:3
[INFO] [stdout]     |
[INFO] [stdout] 162 | #[error_code]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:164:7
[INFO] [stdout]     |
[INFO] [stdout] 164 |     #[msg("Invoice is already settled")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anchor_lang` in this scope
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anchor_lang::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_lang`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_lang`, use `cargo add anchor_lang` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `anchor_spl` in this scope
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_spl::token::{self, Burn, Mint, MintTo, Token, TokenAccount};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `anchor_spl::token::self`, `anchor_spl::token::Burn`, `anchor_spl::token::Mint`, `anchor_spl::token::MintTo`, `anchor_spl::token::Token`, `anchor_spl::token::TokenAccount`
[INFO] [stdout]  --> src/main.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_spl::token::{self, Burn, Mint, MintTo, Token, TokenAccount};
[INFO] [stdout]   |                         ^^^^  ^^^^  ^^^^  ^^^^^^  ^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 |     #[msg("Invoice not fully paid")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:168:7
[INFO] [stdout]     |
[INFO] [stdout] 168 |     #[msg("Unauthorized action")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:170:7
[INFO] [stdout]     |
[INFO] [stdout] 170 |     #[msg("Overflow occurred")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 | #[account]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]    --> src/main.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:137:7
[INFO] [stdout]     |
[INFO] [stdout] 137 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:140:7
[INFO] [stdout]     |
[INFO] [stdout] 140 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:143:7
[INFO] [stdout]     |
[INFO] [stdout] 143 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:146:7
[INFO] [stdout]     |
[INFO] [stdout] 146 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error_code` in this scope
[INFO] [stdout]    --> src/main.rs:162:3
[INFO] [stdout]     |
[INFO] [stdout] 162 | #[error_code]
[INFO] [stdout]     |   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]    --> src/main.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:164:7
[INFO] [stdout]     |
[INFO] [stdout] 164 |     #[msg("Invoice is already settled")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 |     #[msg("Invoice not fully paid")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:168:7
[INFO] [stdout]     |
[INFO] [stdout] 168 |     #[msg("Unauthorized action")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout] 129 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]    --> src/main.rs:170:7
[INFO] [stdout]     |
[INFO] [stdout] 170 |     #[msg("Overflow occurred")]
[INFO] [stdout]     |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]    --> src/main.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:152:3
[INFO] [stdout]     |
[INFO] [stdout] 152 | #[account]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]    --> src/main.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:117:7
[INFO] [stdout]     |
[INFO] [stdout] 117 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:137:7
[INFO] [stdout]     |
[INFO] [stdout] 137 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]   --> src/main.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:140:7
[INFO] [stdout]     |
[INFO] [stdout] 140 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:143:7
[INFO] [stdout]     |
[INFO] [stdout] 143 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instruction` in this scope
[INFO] [stdout]   --> src/main.rs:87:3
[INFO] [stdout]    |
[INFO] [stdout] 87 | #[instruction(invoice_id: String, bump: u8)] // <-- add instruction parameters here
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:146:7
[INFO] [stdout]     |
[INFO] [stdout] 146 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]   --> src/main.rs:89:7
[INFO] [stdout]    |
[INFO] [stdout] 89 |     #[account(
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]    --> src/main.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]   --> src/main.rs:98:7
[INFO] [stdout]    |
[INFO] [stdout] 98 |     #[account(mut)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:101:7
[INFO] [stdout]     |
[INFO] [stdout] 101 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:126:7
[INFO] [stdout]     |
[INFO] [stdout] 126 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:104:7
[INFO] [stdout]     |
[INFO] [stdout] 104 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:129:7
[INFO] [stdout]     |
[INFO] [stdout] 129 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `program` in this scope
[INFO] [stdout]  --> src/main.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[program]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]    --> src/main.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require_keys_eq` in this scope
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         require_keys_eq!(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         require!(!invoice.is_settled, InvoiceError::AlreadySettled);
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:117:7
[INFO] [stdout]     |
[INFO] [stdout] 117 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         require!(invoice.is_settled, InvoiceError::NotFullyPaid);
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Accounts` in this scope
[INFO] [stdout]   --> src/main.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `declare_id` in this scope
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | declare_id!("68wYiS23BoGYZRtzZqVBoSyVuRiYYUvEcrFzDmvDWVs6");
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `instruction` in this scope
[INFO] [stdout]   --> src/main.rs:87:3
[INFO] [stdout]    |
[INFO] [stdout] 87 | #[instruction(invoice_id: String, bump: u8)] // <-- add instruction parameters here
[INFO] [stdout]    |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]   --> src/main.rs:89:7
[INFO] [stdout]    |
[INFO] [stdout] 89 |     #[account(
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]   --> src/main.rs:98:7
[INFO] [stdout]    |
[INFO] [stdout] 98 |     #[account(mut)]
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:101:7
[INFO] [stdout]     |
[INFO] [stdout] 101 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `account` in this scope
[INFO] [stdout]    --> src/main.rs:104:7
[INFO] [stdout]     |
[INFO] [stdout] 104 |     #[account(mut)]
[INFO] [stdout]     |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `program` in this scope
[INFO] [stdout]  --> src/main.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[program]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require_keys_eq` in this scope
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         require_keys_eq!(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         require!(!invoice.is_settled, InvoiceError::AlreadySettled);
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         require!(invoice.is_settled, InvoiceError::NotFullyPaid);
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `declare_id` in this scope
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | declare_id!("68wYiS23BoGYZRtzZqVBoSyVuRiYYUvEcrFzDmvDWVs6");
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ctx: Context<CreateInvoice>,
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn transfer_invoice(ctx: Context<TransferInvoice>) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn pay_installment(ctx: Context<PayInstallment>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:68:32
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn settle_invoice(ctx: Context<SettleInvoice>) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]   --> src/main.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]    |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]   --> src/main.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub mint: Account<'info, Mint>,
[INFO] [stdout]    |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub token_account: Account<'info, TokenAccount>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub owner: Signer<'info>,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub token_program: Program<'info, Token>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/main.rs:108:40
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Sysvar` in this scope
[INFO] [stdout]    --> src/main.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub rent: Sysvar<'info, Rent>,
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Rent` in this scope
[INFO] [stdout]    --> src/main.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub rent: Sysvar<'info, Rent>,
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  88 | pub struct CreateInvoice<'info, Rent> {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub current_owner: Signer<'info>,
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UncheckedAccount` in this scope
[INFO] [stdout]    --> src/main.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub new_owner: UncheckedAccount<'info>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:127:18
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub payer: Signer<'info>,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:132:25
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/main.rs:132:40
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub mint: Account<'info, Mint>,
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub token_account: Account<'info, TokenAccount>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     pub owner: Signer<'info>,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub token_program: Program<'info, Token>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Pubkey` in this scope
[INFO] [stdout]    --> src/main.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub mint: Pubkey,
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Pubkey` in this scope
[INFO] [stdout]    --> src/main.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub owner: Pubkey,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `rust_macro`
[INFO] [stdout]    --> src/main.rs:172:2
[INFO] [stdout]     |
[INFO] [stdout] 172 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         ctx: Context<CreateInvoice>,
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn transfer_invoice(ctx: Context<TransferInvoice>) -> Result<()> {
[INFO] [stdout]    |                                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn pay_installment(ctx: Context<PayInstallment>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                 ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/main.rs:68:32
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn settle_invoice(ctx: Context<SettleInvoice>) -> Result<()> {
[INFO] [stdout]    |                                ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  8 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]   --> src/main.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]    |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]   --> src/main.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |     pub mint: Account<'info, Mint>,
[INFO] [stdout]    |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub token_account: Account<'info, TokenAccount>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:105:16
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub owner: Signer<'info>,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub token_program: Program<'info, Token>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/main.rs:108:40
[INFO] [stdout]     |
[INFO] [stdout] 108 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Sysvar` in this scope
[INFO] [stdout]    --> src/main.rs:109:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub rent: Sysvar<'info, Rent>,
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Rent` in this scope
[INFO] [stdout]    --> src/main.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub rent: Sysvar<'info, Rent>,
[INFO] [stdout]     |                             ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout]  88 | pub struct CreateInvoice<'info, Rent> {
[INFO] [stdout]     |                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:118:24
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub current_owner: Signer<'info>,
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `UncheckedAccount` in this scope
[INFO] [stdout]    --> src/main.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub new_owner: UncheckedAccount<'info>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:127:18
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub payer: Signer<'info>,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:132:25
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/main.rs:132:40
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub system_program: Program<'info, System>,
[INFO] [stdout]     |                                        ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub invoice: Account<'info, InvoiceMetadata>,
[INFO] [stdout]     |                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:141:15
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub mint: Account<'info, Mint>,
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Account` in this scope
[INFO] [stdout]    --> src/main.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub token_account: Account<'info, TokenAccount>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Signer` in this scope
[INFO] [stdout]    --> src/main.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |     pub owner: Signer<'info>,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Program` in this scope
[INFO] [stdout]    --> src/main.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |     pub token_program: Program<'info, Token>,
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Pubkey` in this scope
[INFO] [stdout]    --> src/main.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 155 |     pub mint: Pubkey,
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Pubkey` in this scope
[INFO] [stdout]    --> src/main.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub owner: Pubkey,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ) -> Result<()> {
[INFO] [stdout]    |          ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |          |
[INFO] [stdout]    |          expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ) -> Result<(), E> {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ) -> Result<()> {
[INFO] [stdout]    |          ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |          |
[INFO] [stdout]    |          expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ) -> Result<(), E> {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:37:63
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn transfer_invoice(ctx: Context<TransferInvoice>) -> Result<()> {
[INFO] [stdout]    |                                                               ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn transfer_invoice(ctx: Context<TransferInvoice>) -> Result<(), E> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:51:74
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn pay_installment(ctx: Context<PayInstallment>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                                                          ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn pay_installment(ctx: Context<PayInstallment>, amount: u64) -> Result<(), E> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:68:59
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn settle_invoice(ctx: Context<SettleInvoice>) -> Result<()> {
[INFO] [stdout]    |                                                           ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn settle_invoice(ctx: Context<SettleInvoice>) -> Result<(), E> {
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:37:63
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn transfer_invoice(ctx: Context<TransferInvoice>) -> Result<()> {
[INFO] [stdout]    |                                                               ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                               |
[INFO] [stdout]    |                                                               expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn transfer_invoice(ctx: Context<TransferInvoice>) -> Result<(), E> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:51:74
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn pay_installment(ctx: Context<PayInstallment>, amount: u64) -> Result<()> {
[INFO] [stdout]    |                                                                          ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn pay_installment(ctx: Context<PayInstallment>, amount: u64) -> Result<(), E> {
[INFO] [stdout]    |                                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/main.rs:68:59
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn settle_invoice(ctx: Context<SettleInvoice>) -> Result<()> {
[INFO] [stdout]    |                                                           ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn settle_invoice(ctx: Context<SettleInvoice>) -> Result<(), E> {
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CpiContext` in this scope
[INFO] [stdout]   --> src/main.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let cpi_ctx = CpiContext::new(ctx.accounts.token_program.to_account_info(), cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `CpiContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CpiContext` in this scope
[INFO] [stdout]   --> src/main.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let cpi_ctx = CpiContext::new(ctx.accounts.token_program.to_account_info(), cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `CpiContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CpiContext` in this scope
[INFO] [stdout]   --> src/main.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let cpi_ctx = CpiContext::new(ctx.accounts.token_program.to_account_info(), cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `CpiContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `CpiContext` in this scope
[INFO] [stdout]   --> src/main.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let cpi_ctx = CpiContext::new(ctx.accounts.token_program.to_account_info(), cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `CpiContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-macro` (bin "rust-macro" test) due to 64 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-macro` (bin "rust-macro") due to 65 previous errors
[INFO] running `Command { std: "docker" "inspect" "d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd", kill_on_drop: false }`
[INFO] [stdout] d3c0f5bc72511af113dd8aa1fd5251813ca07416c747ad97b5f59a9a7787acdd
